package com.naiterui.ehp.bs.patient.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.PatientInquirer;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface PatientInquirerRepository extends BaseJpaRepository<PatientInquirer, Long> {

    public List<PatientInquirer> findByPatientIdAndStatus(Long patientId, Integer status);

    public PatientInquirer findByPatientIdAndInquirerId(Long patientId, Long inquirerId);

    public PatientInquirer findByInquirerId(Long inquirerId);
}
